package com.csun.cmny.provider.model.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "cn_dmc_csun_sleep_state")
public class DmcCsunSleepState {

    /**
     * 设备Id
     */
    @Id
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 是否采集数据 0-不采集 1-采集
     */
    private String state;

    @JsonIgnore
    private Integer count;
}